﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using UIWindows.Attributes;

namespace UIWindows.Models.ParameterModels
{
    public class RangeParameterModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        /// <summary>
        /// 定量注液量
        /// </summary>
        [Description("定量")]
        [UIMark("定量标准", "g", 3)]
        public double Quantitative { get; set; }
        /// <summary>
        /// 定量上限
        /// </summary>
        [Description("定上限")]
        [UIMark("定上限", "g")]
        public double QuantitativeUp { get; set; }
        /// <summary>
        /// 定量下限
        /// </summary>
        [Description("定下限")]
        [UIMark("定下限", "g")]
        public double QuantitativeDown { get; set; }

        /// <summary>
        /// 前称重上限
        /// </summary>
        [Description("前称重上限")]
        [UIMark("前称重上限", "g")]
        public double WeighBeforeUp { get; set; }
        /// <summary>
        /// 前称重下限
        /// </summary>
        [Description("前称重下限")] [UIMark("前称重下限", "g")]
        public double WeighBeforeDown { get; set; }

        /// <summary>
        /// 后称重上限
        /// </summary>
        [Description("后称重上限")] [UIMark("后称重上限", "g")]
        public double WeighAfterUp { get; set; }
        /// <summary>
        /// 后称重下限
        /// </summary>
        [Description("后称重下限")]
        [UIMark("后称重下限", "g")]
        public double WeighAfterDown { get; set; }

        /// <summary>
        /// 称重点检上限
        /// </summary>
        [Description("称重点检上限")]
        [UIMark("称重点检上限", "g")]
        public double SpotCheck_WeighingUp { get; set; }

        /// <summary>
        /// 称重点检下限
        /// </summary>
        [Description("称重点检下限")]
        [UIMark("称重点检下限", "g")]
        public double SpotCheck_WeighingDown { get; set; }

        /// <summary>
        /// 电极上限
        /// </summary>
        [Description("电极上限")]
        [UIMark("电极上限", "MΩ")]
        public double ElectrodesUP { get; set; }
        /// <summary>
        /// 电极下限
        /// </summary>
        [Description("电极下限")]
        [UIMark("电极下限", "MΩ")]
        public double ElectrodesDown { get; set; }

        /// <summary>
        /// 壳体上限
        /// </summary>
        //[Description("壳体上限")]
        //[UIMark("壳体上限", "MΩ")]
        //public double HousingUP { get; set; }
        ///// <summary>
        ///// 壳体下限
        ///// </summary>
        //[Description("壳体下限")]
        //[UIMark("壳体下限", "MΩ")]
        //public double HousingDown { get; set; }
    }
}
